package org.geektimes.configuration.microprofile.better.config.source;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @Author: menglinggang
 * @Date: 2021-03-30
 * @Time: 3:25 下午
 */
public class SystemEnvConfigSource extends MapBaseConfigSource{

    public SystemEnvConfigSource() {
        super("SystemEnvConfigSource", 500);
    }

    @Override
    protected void prepareConfigData(Map propertiesMap) {
        propertiesMap.putAll(System.getenv());
    }
}
